package edu.guet.simplefactory;

/**
 * 利用继承和多态可以进行功能扩展 例如：再增加一个根号运算
 */
public class Operation {

    private Double doubleNumberA = 0.0;

    private Double doubleNumberB = 0.0;

    public Double getDoubleNumberA() {
        return doubleNumberA;
    }

    public void setDoubleNumberA(Double doubleNumberA) {
        this.doubleNumberA = doubleNumberA;
    }

    public Double getDoubleNumberB() {
        return doubleNumberB;
    }

    public void setDoubleNumberB(Double doubleNumberB) {
        this.doubleNumberB = doubleNumberB;
    }

    public Double getResult(){

        return 0.0;
    }
}
